package com.cci.kangdao.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;
import java.util.Map;

@MapperScan
public interface ServiceStationOemRelationTDao {

	//根据服务站id判断服务站是否被大运授权
	@Select("select count(*) from ServiceStationOemRelation_T where ServiceStationId = #{stationId} and Flag = 0 and OEMType = 1")
	int getServiceStationOemRelationCountByStationId(@Param("stationId") long stationId);


}
